/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package struts;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Form</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link struts.Form#getAction <em>Action</em>}</li>
 *   <li>{@link struts.Form#getSuccess <em>Success</em>}</li>
 *   <li>{@link struts.Form#getError <em>Error</em>}</li>
 *   <li>{@link struts.Form#getFields <em>Fields</em>}</li>
 * </ul>
 * </p>
 *
 * @see struts.StrutsPackage#getForm()
 * @model
 * @generated
 */
public interface Form extends TagElement {
	/**
	 * Returns the value of the '<em><b>Action</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Action</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Action</em>' attribute.
	 * @see #setAction(String)
	 * @see struts.StrutsPackage#getForm_Action()
	 * @model required="true"
	 * @generated
	 */
	String getAction();

	/**
	 * Sets the value of the '{@link struts.Form#getAction <em>Action</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Action</em>' attribute.
	 * @see #getAction()
	 * @generated
	 */
	void setAction(String value);

	/**
	 * Returns the value of the '<em><b>Success</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Success</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Success</em>' reference.
	 * @see #setSuccess(Page)
	 * @see struts.StrutsPackage#getForm_Success()
	 * @model required="true"
	 * @generated
	 */
	Page getSuccess();

	/**
	 * Sets the value of the '{@link struts.Form#getSuccess <em>Success</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Success</em>' reference.
	 * @see #getSuccess()
	 * @generated
	 */
	void setSuccess(Page value);

	/**
	 * Returns the value of the '<em><b>Error</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Error</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Error</em>' reference.
	 * @see #setError(Page)
	 * @see struts.StrutsPackage#getForm_Error()
	 * @model required="true"
	 * @generated
	 */
	Page getError();

	/**
	 * Sets the value of the '{@link struts.Form#getError <em>Error</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Error</em>' reference.
	 * @see #getError()
	 * @generated
	 */
	void setError(Page value);

	/**
	 * Returns the value of the '<em><b>Fields</b></em>' containment reference list.
	 * The list contents are of type {@link struts.FormElement}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Fields</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Fields</em>' containment reference list.
	 * @see struts.StrutsPackage#getForm_Fields()
	 * @model containment="true"
	 * @generated
	 */
	EList<FormElement> getFields();

} // Form
